<template>
<!-- Breadcrumb 面包屑 -->
    <el-breadcrumb separator-class="el-icon-arrow-right" style="margin-bottom:20px">
        <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item v-for="(item,index) in navData" :key="index">
            {{item}}
        </el-breadcrumb-item>
        
    </el-breadcrumb>
</template>

<script>
export default {
  props: {
    navData: {
      type: Array,
      default: []
    }
  },
  // props: ["navData"]
  data() {
    return {};
  }, // 组件方法

  methods: {},

  mounted() {}
};
</script> 

<style  lang='scss' scoped>
</style>